css: Add support for -gtk-icontheme("icon-name")
authorBenjamin Otte <otte@redhat.com>
Thu, 1 May 2014 17:50:22 +0000 (19:50 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 14 May 2014 02:28:33 +0000 (04:28 +0200)
commit633ec8184ded80a63dce6b87e9f4ef5a271950e4
treee0e49317019b7f4227375df21f7a103927d0a4ea
parentf6af96723c82e6a0a956f8e0e7441edb8256c1c2
css: Add support for -gtk-icontheme("icon-name")

This allows using icons from the icontheme as images in CSS. The
reasoning is that this allows to give the image control about how it's
scaled (by using the icon theme's scaling method. So we can get crisp
images at different resolutions.
gtk/Makefile.am
gtk/gtkcssimage.c
gtk/gtkcssimageicontheme.c [new file with mode: 0644]
gtk/gtkcssimageiconthemeprivate.h [new file with mode: 0644]